{include file="$MODULES_DIR/install/templates/layout_top.html"}
{t assignTo=title}Database{/t}
{include file="$MODULES_DIR/install/templates/layout_tabs.html" step=4 title=$title}
<p>{t}To set up your Pagizer database, enter the following information. All fields are required.{/t}</p>
<form method="post" action="">
    <table class="form">
        <thead>
        <tr><th colspan="2">{t}Connexion parameters{/t}</th></tr>
        </thead>
        <tbody>
        <tr><td style="width:150px;">{t}Host{/t}</td><td><input type="text" name="form[host]" {if isset($value.host)}value="{$value.host}"{/if} /></td></tr>
        <tr><td>{t}Login{/t}</td><td><input type="text" name="form[login]" {if isset($value.login)}value="{$value.login}"{/if} /></td></tr>
        <tr><td>{t}Password{/t}</td><td><input type="password" name="form[password]" {if isset($value.password)}value="{$value.password}"{/if} /></td></tr>
        <tr><td>{t}Database name{/t}</td><td><input type="text" name="form[dbName]" {if isset($value.dbName)}value="{$value.dbName}"{/if} /></td></tr>
        </tbody>
    </table>
    {if isset($error)}
    <p class="errorDetail">{t}We were unable to connect to your database, please check your information to continue with the installation process.{/t}</p>
    {/if}
    <div class="centeredButton"><button class="bigGreenButton" type="submit">{t}Continue{/t} <img src="{$URL_RELATIVE}/bo/install/media/next.png" alt="" /></button></div>
</form>
{include file="$MODULES_DIR/install/templates/layout_bottom.html"}